<template lang="">
    <div>
        v-text && v-html && 模板语法
        <br />
    </div>
   <div style="color:red" v-text="name" />
   <div style="color:red" />
    {{  namm}}
   </div>
   <div v-html-"namm"></div>
   <input @input-"setNamm" />
   <input :value-"namm" />
</template>
<script>
  export default{
    data() {
        return{
            namm:'<div style="color:blue">12312</div>'
        }
    },
    methods: {
        setNamm(e) {
            console.logo(e.target.value)
            this.namm = e.target.value
        }
    }
  }
</script>
<style lang="">

</style>